import React, { useEffect } from 'react'
import './Show.scss'
import { useNavigate } from 'react-router-dom'
export default function Show() {
  const navigate = useNavigate()
  // 1.5秒后跳转到首页
  useEffect(() => {
    let timer = setTimeout(() => {
      clearTimeout(timer)
      navigate('/app')
    }, 1500)
  }, [])
  return (
    <div>
      <div className='show'>
        <div className='show-box'>
          <div className='show-logo'>
            <img src="/招聘猫Logo.png" alt="" />
          </div>
          <h1 className='show_text'>猫 咪 聘</h1>
          <h3 className='show_text'>找工作的好地方</h3>
        </div>
      </div>
    </div>
  )
}
